package com.wva.common.utils;

import com.wva.common.exception.SystemException;
import com.wva.common.status.StatusEnum;

/**
 * 异常断言工具类
 * @Author: hong
 * @Date: 2025/1/25 23:15:32
 */
public class Assert {
    public static void notNull(Object object) {
        if (object == null)
            throw new SystemException(StatusEnum.INTERNAL_ERROR);
    }
}
